Skip to content

Improve how we use returncode_t vs statuscode_t.#536

Merged
ppannuto merged 4 commits intomasterfrom
statuscode-to-returncode
Jul 29, 2025
Merged

Improve how we use returncode_t vs statuscode_t.#536
ppannuto merged 4 commits intomasterfrom
statuscode-to-returncode

Conversation

@bradjc
Copy link
Contributor

@bradjc bradjc commented Jul 14, 2025

StatusCode only exists over the syscall interface. Once we are in libtock-c we only use ReturnCode.

We need to make sure we use tock_status_to_returncode() on values passed over the syscall interface.

@bradjc bradjc force-pushed the statuscode-to-returncode branch from 15bff44 to 1aaf8fd Compare July 17, 2025 16:37
bradjc added 2 commits July 21, 2025 12:28
StatusCode only exists over the syscall interface. Once we are in
libtock-c we only use ReturnCode.

We need to make sure we use tock_status_to_returncode() on values passed
over the syscall interface.
@bradjc bradjc force-pushed the statuscode-to-returncode branch from 1aaf8fd to 6f09b00 Compare July 21, 2025 16:28
Co-authored-by: Pat Pannuto <pat.pannuto@gmail.com>
@ppannuto ppannuto added this pull request to the merge queue Jul 29, 2025
Merged via the queue into master with commit afd47f7 Jul 29, 2025
5 of 6 checks passed
@ppannuto ppannuto deleted the statuscode-to-returncode branch July 29, 2025 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants